-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
2.5.2
-
Code
-
Classes
- YAYDP_Cart_Discount_Manager
Total Complexity |
34 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
215 |
Lines of code |
131 |
Logical lines of code |
84 |
Comment lines |
51 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_shop_coupon_data() |
S |
55 |
5 |
19 |
remove_yaydp_discounts() |
S |
58 |
5 |
16 |
change_coupon_message() |
S |
58 |
5 |
16 |
change_coupon_error() |
S |
58 |
5 |
16 |
change_coupon_label() |
S |
57 |
4 |
16 |
change_coupon_html() |
S |
57 |
4 |
16 |
calculate_pricings() |
S |
60 |
2 |
13 |
__construct() |
S |
61 |
1 |
11 |
before_calculate_pricings() |
S |
82 |
1 |
3 |
after_calculate_pricings() |
S |
91 |
1 |
2 |
handle_use_time() |
S |
79 |
1 |
3 |